<template>
    <div class="home-icon">
        <div class="item" v-for="item in dt">
            <img :src="item.imgUrl" alt="">
            <p>{{ item.desc }}</p>
        </div>
    </div>
</template>

<script>
    export default {
        name: "HomeIcon",
        props: ['dt']
    }
</script>

<style scoped>

    .home-icon {
        display: flex;
        flex-wrap: wrap;
    }
    .item {
        width: 25%;
        padding:10px 10px 0 10px;
        box-sizing: border-box;
        font-size: 13px;
        text-align: center;
    }
    .item img {
        width: 100%;
        margin-bottom: 5px;
    }

</style>